package com.jeeplus.modules.common.excel.common.anno;

import com.jeeplus.modules.common.excel.common.anno.abs.ExcelValidator;
import com.jeeplus.modules.common.excel.common.validator.impl.NameAndNumberValidator;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@ExcelValidator(validator = NameAndNumberValidator.class)
public @interface NameAndNumber {
    String msg();
    boolean isName() default true;
    String forName() default "";
    String forNumber() default "";
}
